package com.travel.server.manager.impl.controller;

import com.travel.server.manager.api.IOrderDataService;
import com.travel.server.manager.dto.request.order.data.*;
import com.travel.server.manager.impl.controller.base.AbstractController;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

/**
 * @Author: LiZhenhui
 * @Date: 2018/12/7 16:19
 * @Desc:
 */
@RestController
public class OrderDataController extends AbstractController implements IOrderDataService {
    @Override
    public Object queryOrderData(@RequestBody QueryOrderDataRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object exportOrderData(@RequestBody ExportOrderDataRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object queryOrderConstitute(@RequestBody QueryOrderConstituteRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object exportOrderConstitute(@RequestBody ExportOrderConstituteRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object queryOrderAnalysisList(@RequestBody QueryOrderAnalysisListRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object exportOrderAnalysisList(@RequestBody ExportOrderAnalysisListRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object querySaleTargetList(@RequestBody QuerySaleTargetListRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object exportSaleTargetList(@RequestBody ExportSaleTargetListRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object queryOrderChargeTarget(@RequestBody QueryOrderChargeTargetRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object updateOrderChargeTarget(@RequestBody UpdateOrderChargeTargetRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object queryChargeTargetList(@RequestBody QueryChargeTargetListRequest request) {
        return this.getCommand().handle(request);
    }

    @Override
    public Object exportChargeTargetList(@RequestBody ExportChargeTargetListRequest request) {
        return this.getCommand().handle(request);
    }
}
